package com.gzs.learn.payment.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gzs.learn.inf.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 微信支付成功优惠明细对象 pay_success_wechat_promotion
 *
 * @author guanzhisong
 * @date 2021-08-30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class PaySuccessWechatPromotion implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 主键ID */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /** 微信支付流水号 */
    @Excel(name = "微信支付流水号")
    private String wechatSerial;
    /** 支付流水号 */
    @Excel(name = "支付流水号")
    private Long serial;
    /** 优惠券面额 */
    @Excel(name = "优惠券面额")
    private Long amount;
    /** 优惠券ID */
    @Excel(name = "优惠券ID")
    private String couponId;
    /** 优惠名称 */
    @Excel(name = "优惠名称")
    private String name;
    /** 优惠范围 */
    @Excel(name = "优惠范围")
    private String scope;
    /** 优惠类型 */
    @Excel(name = "优惠类型")
    private String type;
    /** 活动ID */
    @Excel(name = "活动ID")
    private String stockId;
    /** 微信出资 */
    @Excel(name = "微信出资")
    private Long wechatpayContribute;
    /** 商户出资 */
    @Excel(name = "商户出资")
    private Long merchantContribute;
    /** 其他出资 */
    @Excel(name = "其他出资")
    private Long otherContribute;
    /** 优惠币种 */
    @Excel(name = "优惠币种")
    private String currency;
    /** 优惠商品明细 */
    @Excel(name = "优惠商品明细")
    private String goodsDetail;
    /** 创建时间 */
    private Date createTime;
}
